package com.qolome.knowledge.design.pattern.adapter.demo.passport.adapters;


import com.qolome.knowledge.design.pattern.adapter.demo.passport.ResultMsg;


public interface ILoginAdapter {
    /**
     *
     * @param object 传入对象
     * @return 判断结果
     */
    boolean support(Object object);

    /**
     *
     * @param id 参数有
     * @param adapter 适配器
     * @return 结果
     */
    ResultMsg login(String id, Object adapter);
}
